<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<title>编辑友情链接</title>

<link rel="stylesheet" type="text/css" href="__PUBLIC__/skin/admin/css/base.css">

<script language="javascript">

function viewArc(aid){

	if(aid==0) aid = getOneItem();

	window.open("archives.asp?aid="+aid+"&action=viewArchives");

}

function editArc(aid){

	if(aid==0) aid = getOneItem();

	location="archives.asp?aid="+aid+"&action=editArchives";

}

function updateArc(aid){

	var qstr=getCheckboxItem();

	if(aid==0) aid = getOneItem();

	location="archives.asp?aid="+aid+"&action=makeArchives&qstr="+qstr+"";

}

function checkArc(aid){

	var qstr=getCheckboxItem();

	if(aid==0) aid = getOneItem();

	location="archives.asp?aid="+aid+"&action=checkArchives&qstr="+qstr+"";

}

function moveArc(aid){

	var qstr=getCheckboxItem();

	if(aid==0) aid = getOneItem();

	location="archives.asp?aid="+aid+"&action=moveArchives&qstr="+qstr+"";

}

function adArc(aid){

	var qstr=getCheckboxItem();

	if(aid==0) aid = getOneItem();

	location="archives.asp?aid="+aid+"&action=commendArchives&qstr="+qstr+"";

}

function delArc(aid){

	var qstr=getCheckboxItem();

	if(aid==0) aid = getOneItem();

	location="archives.asp?aid="+aid+"&action=delArchives&qstr="+qstr+"";

}



//获得选中文件的文件名

function getCheckboxItem()

{

	var allSel="";

	if(document.form2.id.value) return document.form2.id.value;

	for(i=0;i<document.form2.id.length;i++)

	{

		if(document.form2.id[i].checked)

		{

			if(allSel=="")

				allSel=document.form2.id[i].value;

			else

				allSel=allSel+"`"+document.form2.id[i].value;

		}

	}

	return allSel;

}



//获得选中其中一个的id

function getOneItem()

{

	var allSel="";

	if(document.form2.id.value) return document.form2.id.value;

	for(i=0;i<document.form2.id.length;i++)

	{

		if(document.form2.id[i].checked)

		{

				allSel = document.form2.id[i].value;

				break;

		}

	}

	return allSel;

}

function selAll()

{

	for(i=0;i<document.form2.id.length;i++)

	{

		if(!document.form2.id[i].checked)

		{

			document.form2.id[i].checked=true;

		}

	}

}

function noSelAll()

{

	for(i=0;i<document.form2.id.length;i++)

	{

		if(document.form2.id[i].checked)

		{

			document.form2.id[i].checked=false;

		}

	}

}

</script>

</head>

<body leftmargin="8" topmargin="8" background='__PUBLIC__/skin/images/allbg.gif'>



<!--  快速转换位置按钮  -->

<table width="98%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D1DDAA" align="center">

<tr>

 <td height="26" background="__PUBLIC__/skin/images/newlinebg3.gif">

  <table width="98%" border="0" cellspacing="0" cellpadding="0">

  <tr>

  <td align="center"><strong>添加评论内容</strong></td>

 </tr>

</table>

</td>

</tr>

</table>

  

<!--  内容列表   -->

<form name="form2" action="" method="post">

  <table width="98%" border="0" align="center" cellspacing="1" bgcolor="#D1DDAA">




  <tr>

    <td height="28" bgcolor="#FFFFFF">&nbsp;评论店铺ID：</td>

    <td bgcolor="#FFFFFF">
      <input name="company_id" type="text" id="company_id" style="height:22px; width:200px;">
    </td>

  </tr>

    <tr>

    <td height="25" bgcolor="#FFFFFF">&nbsp;评论人ID：</td>

    <td bgcolor="#FFFFFF"><input name="uid" type="text" id="uid" style="height:22px; width:200px;"></td>

  </tr>

  <tr>

    <td height="28" bgcolor="#FFFFFF">&nbsp;评论介绍：</td>

    <td bgcolor="#FFFFFF"><textarea name="content" id="content" style="height:200px; width:400px;">{$content}</textarea></td>

  </tr>



  <tr>

    <td height="25" bgcolor="#FFFFFF">&nbsp;评价：</td>

    <td bgcolor="#FFFFFF">
        <input name="evaluate" type="radio" value="1" checked >
         好评
        <input type="radio" name="evaluate" value="0" >
        中评
        <input type="radio" name="evaluate" value="-1">
        差评
      </td>

  </tr>

  <tr>

    <td height="25" bgcolor="#FFFFFF">&nbsp;</td>

    <td bgcolor="#FFFFFF"><input type="submit" name="submit" value="提交" id="submit"></td>

  </tr>



</table>

</form>





<table width='98%'  border='0' cellpadding='1' cellspacing='1' bgcolor='#CBD8AC' align="center" style="margin-top:8px">

  <tr bgcolor='#EEF4EA'>

    <td background='skin/images/wbg.gif' align='center'>&nbsp;</td>

  </tr>

</table>



</body>

</html>